package net.helix.element;


import org.lwjgl.util.vector.Vector3f;

import net.helix.engine.library.items.LibraryItem;
import net.helix.physics.Collidable3d;

public class Element_Model extends ViewNodeElement implements Collidable3d {

	public Element_Model(LibraryItem item) {
		super(item);
	}

	@Override
	public void render() {
		//GL11.glPushMatrix();
		
		transform.apply(true);
		
		item.render(properties);
		
		transform.unApply();
	}

	@Override
	public String getSymbolName() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public boolean lineHitTest(Vector3f rayPoint, Vector3f ray) {
		
		return false;
	}

	@Override
	public boolean sphereHitTest(Vector3f center, float radius) {
		// TODO Auto-generated method stub
		return false;
	}

}
